import { Avatar, Space } from "antd";
import feedBackImage from "../../assets/feedback.png";

const GlobalHeader = () => {
	return (
		<div className="drag" style={{ height: 42, lineHeight: "40px", padding: "0 0 0 16px", backgroundColor: "#e7e7e7" }}>
			<div style={{ display: "flex", justifyContent: "space-between" }}>
				<Space>
					<Avatar shape="square" size={24} src={feedBackImage} style={{ marginTop: -3, backgroundColor: "#fff" }} />
					<div>反馈</div>
				</Space>
				<div className="controls no-drag">
					<a onClick={window.close}>×</a>
				</div>
			</div>
		</div>
	);
};

export default GlobalHeader;
